package com.syxd.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syxd.dto.SysPermissionDTO;
import com.syxd.dto.SysUserDTO;
import com.syxd.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysUserDao extends BaseMapper<SysUserEntity> {

    List<SysPermissionDTO> getUserPermissionsDetail(String userId);

    List<String> getUserPermissions(Integer userId);

    List<SysUserDTO> selectByLoginAccount(String loginAccount);

    void logicDelete(Map<String, Object> map);
}
